package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 商品规格
 * @author Rongjie
 */
@Data
@TableName("mall_goods_specific")
@KeySequence(value = "mall_goods_specific_SEQ")
@ApiModel(value = "MallGoodsSpecific对象")
public class MallGoodsSpecific implements Serializable{

       private String appKey;

       @TableId(value = "goods_specific_key", type = IdType.UUID)
       @ApiModelProperty(value = "主键")
       private String goodsSpecificKey;

       @ApiModelProperty(value = "商品KEY")
       private String goodsKey;

       @ApiModelProperty(value = "多规格模板实例数据")
       private String specificData;

       @ApiModelProperty(value = "sku维度1")
       private String specificDim1;

       @ApiModelProperty(value = "sku维度2")
       private String specifcDim2;

       @ApiModelProperty(value = "sku维度3(3维会指数级增加复杂度, 原则上不要使用,建立最高2个维度)")
       private String specifcDim3;

       @ApiModelProperty(value = "sli维度4")
       private String specificDim4;

       private Integer createTime;

       private Integer updateTime;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
